import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-ng-template',
  templateUrl: './ng-template.component.html',
  styleUrls: ['./ng-template.component.scss']
})
export class NgTemplateComponent implements OnInit {
  condition:boolean = false

  options:any = {
    width:"120px",
    text:"更改判断值"
  };
  constructor() { }

  ngOnInit() {
  }
  
  btnClick(){
    this.condition = !this.condition;
  }
}
